<template>
  <div id="app" >
    <router-view>  </router-view>
  <FooterGuide v-show="$route.meta.showFooter"/> 
  
  </div>
</template>

<script>
import {mapActions} from 'vuex'

import {reqFoodCategorys}  from "./api"
import FooterGuide from './component/FooterGuide/FooterGuide.vue'
  export default {
  name: 'App',
  components: {
  FooterGuide 
  },
  mounted () {
      // this.$store.dispatch('getAddress')
      this.getAddress()
    },
    methods: {
      ...mapActions(['getAddress'])
    },
}
</script>

<style  lang="stylus" rel="stylesheet/stylus">
.app
    width 100%
    height 100%
    background #f5f5f5
</style>
